package routers

import (
	"git.oschina.net/goxiang2/web/admin/controllers"
	"github.com/astaxie/beego"
)

func init() {
	beego.Router("/", &controllers.MainController{})
	beego.Router("/index", &controllers.MainController{})
	beego.Router("/login", &controllers.LoginController{})
	beego.Router("/logout", &controllers.LogoutController{})
	beego.Router("/user", &controllers.UserController{})
	beego.Router("/role", &controllers.RoleController{})
	beego.Router("/log", &controllers.LogController{})
}
